package com.zoe.onelink.common.model;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>标题: 通用Id类</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2021</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2021-11-26
 */
public class IdParam implements Serializable {

    private static final long serialVersionUID = 6744583916366734577L;

    @NotBlank
    private String id;

    public IdParam() {

    }

    public IdParam(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return this.id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
